<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   
    
    <title>My JSP starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="css/zbCss/pageTable.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" type="text/css" href="../../style/zbCss/defaultStyle.css" />
	<link rel="stylesheet" type="text/css" href="../../style/zbCss/easyui.css" />
	<link rel="stylesheet" type="text/css" href="../../style/zbCss/icon.css" />
	<link rel="stylesheet" type="text/css" href="../../style/zbCss/pageTable.css" />
	<link rel="stylesheet" type="text/css" href="../../style/fzjc/fzjc.css" />

	<script type="text/javascript" src="../../lib/OpenLayers.js"></script>
	 <script type="text/javascript" src="../../lib/data.js"></script>
	  <script type="text/javascript" src="../../js/yjzsfunctiondlg/zbgl.js"></script>
	   <script type="text/javascript" src="../../js/yjdcfunctiondlg/dcwd.js"></script>
	<script type="text/javascript" src="../../lib/easyui/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="../../lib/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../../lib/easyui/json2.js"></script>
	<script type="text/javascript"src="../../My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="../../js/util.js"></script>
	<script type="text/javascript" src="../../js/yjdcfunctiondlg/xxcx.js"></script>
	
	<script type="text/javascript">
		$(function(){
		//调查文档查询
			initDcwdTable();
			setOption('china','dcwdShen');
			setSltDefaultVal("dcwdShen",'420000');
			$("#dcwdShen").attr("disabled","disabled");
			changeShenItem(document.getElementById("dcwdShen").value,'dcwdShi');
			//调查文档详情对话框
			$("#dcwdXiangqingDlg").dialog({
				draggable : true,
				top : 50,
				left : 100,
				title : "调查文档详情",
				collapsible : true,
				
			});
			$("#dcwdXiangqingDlg").dialog("close");
			//////////////////信息查询初始化
			setOption('china','sheng');
	 	$("#sheng").attr("disabled","disabled");
        setSltDefaultVal("sheng","420000");
        changeShengItem(document.getElementById("sheng").value,'shi');
        ////初始化结果框
        initTblyjdc01();
        	$('#tabdcwddiv').tabs({
				
				onSelect:function(title){
					
					if(title=="文档查询"){
						initDcwdTable();
					}
					if(title=="灾害点信息查询"){
						initTblyjdc01();
					}
					if(title=="Gps任意点定位查询"){
					}
					if(title=="Gps任意点轨迹查询"){
					
					}
					
				}
			});
			
			$("#dwQueryButton").click(dwQueryButtonClick);
			$("#gjQueryButton").click(gjQueryButtonClick);
		})
		
	</script>
	<style type="text/css">
		.queryTd{border:1px solid #D8DBE0;}
	</style>
 </head>
  
  <body >
	<div id="tabdcwddiv"  class="easyui-tabs" style="width:626px;height: 410px">
	
		<div title="文档查询" style="padding: 0px;height: 400px;width: 600px;" >
			省：<select id="dcwdShen" onchange="changeShenItem(this.value,'dcwdShi')"><option  selected="selected" value="" >请选择省</option></select>
			市：<select id="dcwdShi" onchange="changeShiItem(this.value,'dcwdXian')"><option  selected="selected" value="">请选择市</option></select>
			县：<select id="dcwdXian" onchange="changeXianItem(this.value,'zhen')"><option  selected="selected" value="">请选择县</option></select>
			<br></>灾害类型：<select id="dcwdZHLX"><option selected="selected" value="">请选择</option>
			<option  value="00">斜坡变形</option>
			<option  value="01">滑坡</option>
			<option  value="02">崩塌</option>
			<option  value="03">泥石流</option>
			<option  value="04">岩溶塌陷</option>
			<option  value="05">采空塌陷</option>
			<option  value="06">地裂缝</option>
			<option  value="07">地面沉降</option>
			<option  value="08">塌岸</option>
			<option  value="09">高切坡</option>
			<option  value="10">危岩体</option>
			</select>
			
			上报时间范围：<input id="dcwdStartTime"  class="Wdate" type="text" onfocus="WdatePicker({startDate:' 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" />
			—<input id="dcwdEndTime"  class="Wdate" type="text" onfocus="WdatePicker({startDate:' 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" />
			<input type="button" id="dcwdQueryBtn" value="查询" class="btn_2z"
										onclick="dcwdQuery()" />
			<table id="dcwdTable" width="610px" height="400px"></table>
	</div>
	<div title="灾害点信息查询" style="padding: 0px;height: 400px;width: 500px;" >
		 <select style="display: none" id="sheng" onchange="changeShengItem(this.value,'shi')"><option  selected="selected" value="" >请选择省</option></select>
    <table class="innerStyle"  style="width: 80%">
	<tr><td>省市区划</td>
	<td><select id="shi" 	onchange="changeShiItem(this.value,'xian');">
	<option  selected="selected" value="-1">湖北省</option></select></td><td>县级区划</td><td>
	<select id="xian">
	<option  selected="selected" value="-1">请选择县</option></select></td></tr>
	<tr><td>调查日期</td><td colspan="3">
	<input class="Wdate" 
	 onfocus="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" type="text" id="sTime"/>
	—<input class="Wdate" type="text" id="eTime"  onfocus="WdatePicker({startDate:'%y-%M-30 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"  />
	
									<input type="button" id="queryBtn_zbry" value="查询" class="btn_2z"
										onclick="queryBtn_yjdcinfo()" />
								</td></tr>
	</table>
	<table id="tblyjdc01" ></table>
	</div>
	<div title="Gps任意点定位查询" style="padding: 0px;height: 400px;width: 500px;" >
		查询时间：<input class="Wdate"  onfocus="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"
		 type="text" id="dwSTime"/>—<input class="Wdate"  onfocus="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"
		 type="text" id="dwETime"/>
		 <input type="button" value="查询" id="dwQueryButton"/>
		 <br/>
		 <table id="ryDingweiResultTable" style="font-size:12px;width:400px;border-collapse: collapse;" >
		</table>
	</div>
	<div title="Gps任意点轨迹查询" style="padding: 0px;height: 400px;width: 500px;" >
		查询时间：<input class="Wdate"  onfocus="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"
		 type="text" id="gjSTime"/>—<input class="Wdate"  onfocus="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"
		 type="text" id="gjETime"/>
		 <input type="button" value="查询" id="gjQueryButton"/>
		 <br/>
		 <table id="ryGuijiResultTable" style="font-size:12px;width:400px;border-collapse: collapse;" >
		</table>
	</div>
	
</div>

	<div id="dingweiResultDlg" style="width:340px;height:200px;">
		<table id="queryDingweiResultTable" style="font-size:11px;width:300px;border-collapse: collapse;" >
		</table>
	</div>
	
	<div id="guijiResultDlg" style="width:340px;height:200px;">
		<table id="queryGuijiResultTable" style="font-size:11px;width:300px;border-collapse: collapse;" >
		</table>
	</div>
	
	<div id="dcwdXiangqingDlg" style="width:600px;height:250px;padding-top:10px">
		<table>
			<tr>
				<td>统一编码：</td><td><input id="yjdc06000" type="text"/></td><td>文档编码：</td><td><input id="yjdc06010" type="text"/></td>
			</tr>
			<tr>
				<td>提交报告单位：</td><td><input id="yjdc06020" type="text"/></td><td>报告主编：</td><td><input id="yjdc06030" type="text"/></td>
			</tr>
			<tr>
				<td>主编专业职称：</td><td><input id="yjdc06040" type="text"/></td><td>参加编写人员：</td><td><input id="yjdc06050" type="text"/></td>
			</tr>
			<tr>
				<td>报告内容摘要：</td><td><input id="yjdc06060" type="text"/></td><td>报告提交时间：</td><td><input id="yjdc06080" type="text"/></td>
			</tr>
		</table>
	</div>
	</body>
</html>
